
package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.toolbox.util.DateTimeUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
* @author autoGen
* @time 2018-11-12 20:02:45
*/
@Setter
@Getter
@ToString
public class SurveyAnswerUserEntity implements Serializable{

	/** Comment for <code>serialVersionUID</code> */
	private static final long serialVersionUID = -5366805257329742345L;
	public SurveyAnswerUserEntity(){
		this.addTime = DateTimeUtil.getInt();
		this.updateTime = DateTimeUtil.getInt();
		this.del = 0;
	}

	public SurveyAnswerUserEntity(Integer surveyId, String surveyName, Integer sysUserId, String sysUserName, String corpid, String corpName, String userId, String userName){
		this();
		this.surveyId = surveyId;
		this.surveyName = surveyName;
		this.sysUserId = sysUserId;
		this.sysUserName = sysUserName;
		this.corpid = corpid;
		this.corpName = corpName;
		this.userId = userId;
		this.userName = userName;
	}
	//========== properties ==========

	/**
	* 主键id
	*/
	private Integer id;
	/**
	* 问卷id（暂时默认1）
	*/
	private Integer surveyId;
	/**
	 * 问卷名
	 */
	private String surveyName;
	/**
	* 被评价人id(admin的id),当问卷为对个人评价时有效
	*/
	private Integer sysUserId;
	/**
	* 被评价人名字，当问卷为对个人评价时有效
	*/
	private String sysUserName;
	/**
	* 提交问卷的公司id
	*/
	private String corpid;
	/**
	* 提交问卷的公司名
	*/
	private String corpName;
	/**
	* 提交问卷人userId
	*/
	private String userId;
	/**
	* 提交问卷人名
	*/
	private String userName;
	/**
	* 添加时间
	*/
	private Long addTime;
	/**
	* 更新时间
	*/
	private Long updateTime;
	/**
	* 删除标志位
	*/
	private Integer del;

    //========== getters and setters ==========


}

